Setting Global Git Username and Email

git config --global user.name "Your Name"
git config --global user.email "youremail@yourdomain.com"



Setting Single Repository Username and Email

git config user.name "Your Name"
git config user.email "youremail@yourdomain.com"

Verify that the changes were made correctly:
git config --list
